package com.lening.iot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.iot.dto.AccontrolDTO;
import com.lening.iot.dto.ParkinglotDTO;
import com.lening.iot.po.ParkinglotPO;
import com.lening.iot.vo.ParkinglotVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/4 14:13
 */
@Mapper
public interface ParkinglotDAO  extends BaseMapper<ParkinglotPO> {
    Page<ParkinglotDTO> getAllPkl(Page<ParkinglotDTO> parkinglotDTOPage);

    ParkinglotVO getById(Long id);

    List<ParkinglotDTO> getAll(@Param("communityName")String communityname);
}
